<meta charset="utf-8">
<?php
session_start();
$username=$_SESSION['username'];
$m= $_GET['id'];
require_once("mysql.php"); 
/*$pdn=mysql_connect("localhost","root","1");
$dc=mysql_select_db("my_db",$pdn);*/
$resule=mysql_query("delete from test2 where username='$username' AND id='$m'");
if($resule)
{
	echo"<script type='text/javascript'>location='hy.php';</script>";
}
?>